import { create } from "zustand";
export type MenuModal = { title: string; href?: string; isDoc?: boolean };
export const appMenuStore = create<{
  menus: MenuModal[];
}>(() => {
  return {
    menus: [
      {
        title: "首页",
        href: "/",
      },
      {
        title: "学习文档",
        isDoc: true,
      },
      {
        title: "群组",
        href: "/g",
      },
      {
        title: "分类",
        href: "/category",
      },
      {
        title: "标签",
        href: "/tags",
      },
      {
        title: "归档",
        href: "/all",
      },
      {
        title: "友链",
        href: "/links",
      },
      {
        title: "项目",
        href: "/projects",
      },
      {
        title: "关于",
        href: "/about",
      },
    ],
  };
});
